<template>
  <div class="notFind">
    <img src="@/assets/images/error_images/404.png" />
    <div class="text">
      <h2>你访问的界面不存在！</h2>
      <p>请检查你的url是否正确，或点击下面按钮回到首页</p>
      <el-button @click="backHome">返回首页</el-button>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
let router = useRouter()
const backHome = () => {
  router.push('/')
}
</script>

<style scoped>
.notFind {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  img {
    width: 700px;
  }
  .text {
    h2 {
      font-size: 32px;
      font-weight: 700;
      color: #067ef7;
    }
    p {
      margin: 20px 0;
    }
  }
}
</style>
